package com.bookmanager.www;

import com.bookmanager.www.common.utils.ReadPropertiesUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.io.ClassPathResource;

import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Properties;

@SpringBootApplication
@MapperScan("com.bookmanager.www.mapper")
public class WwwApplication {
    private static final Properties properties = ReadPropertiesUtil.getProperties("alipay.properties");//这里直接写resource下的文件路径就行


    public static void main(String[] args) {


        SpringApplication.run(WwwApplication.class, args);
    }

}
